<?php
/**
 * Created by PhpStorm.
 * User: xj
 * Date: 2015/3/24
 * Time: 9:14
*/
namespace Admin\Controller;
use Think\Controller;

class IndexController extends CommonController
{

    public $GroupController;

    public function __construct()
    {
        parent::__construct();
        $this->GroupController=new GroupController();

    }
    public function index()
    {
        $this->head();
        $group=$this->GroupController->getGroup();
        $this->assign('group',$group);
        $this->display();
    }
}